import {observable} from "mobx";

export const LocationStore = observable({
  latitude: 0,
  longitude: 0,

  setLocation(coord: ICoord) {
    this.latitude = coord.latitude;
    this.longitude = coord.longitude;
  },
});
